package com.learning.download;

import com.learning.bean.MyDownload;
import com.learning.bean.URLDownload;

public class Download1 {
	public static void main(String[] args) {
//		String url=null;
//		url="http://vipcdnuni.115.com/down_group32/M00/34/D5/tzyLA00hcoUAAAAAAHemiSZ5p4k2667596/%E5%8D%93%E4%BE%9D%E5%A9%B7%20-%20%E6%98%8E%E5%A4%A9%E4%BC%9A%E6%9B%B4%E5%A5%BD.mp3?k=qIys1VB5ocroYt0N9wlZOA&t=1440246973&u=vip-1899604626-60239330-amsl8wpwchtkk&s=104857600&file=%E5%8D%93%E4%BE%9D%E5%A9%B7%20-%20%E6%98%8E%E5%A4%A9%E4%BC%9A%E6%9B%B4%E5%A5%BD.mp3";
//		MyDownload download=new MyDownload(url);
//		download.start();
//		String spec="http://vipcdnuni.115.com/down_group32/M00/34/D5/tzyLA00hcoUAAAAAAHemiSZ5p4k2667596/%E5%8D%93%E4%BE%9D%E5%A9%B7%20-%20%E6%98%8E%E5%A4%A9%E4%BC%9A%E6%9B%B4%E5%A5%BD.mp3?k=qIys1VB5ocroYt0N9wlZOA&t=1440246973&u=vip-1899604626-60239330-amsl8wpwchtkk&s=104857600&file=%E5%8D%93%E4%BE%9D%E5%A9%B7%20-%20%E6%98%8E%E5%A4%A9%E4%BC%9A%E6%9B%B4%E5%A5%BD.mp3";
	    String spec="http://a4.att.hudong.com/25/82/01200000031900136324829597923.jpg";
		URLDownload download=new URLDownload(spec);
		Thread t=new Thread(download);
		t.start();
		Thread t1=new Thread(download);
		t1.start();
		Thread t2=new Thread(download);
		t2.start();
		Thread t3=new Thread(download);
		t3.start();
	}

}
